// 积分交易记录类型
export interface PointsTransaction {
  id: string;
  type: 'recharge' | 'consumption' | 'reward' | 'refund'; // 充值、消费、奖励、退款
  amount: number;
  description: string;
  timestamp: string;
  status: 'completed' | 'pending' | 'failed';
}

// 充值选项类型
export interface RechargeOption {
  amount: number;
  bonus: number;
  label: string;
  description?: string;
  price: number;
}

// 积分中心属性类型
export interface PointsCenterProps {
  visible: boolean;
  onClose: () => void;
}

// 用户积分信息类型
export interface UserPointsInfo {
  balance: number;
  totalRecharged: number;
  totalConsumed: number;
  transactions: PointsTransaction[];
}